package com.conception.designpattern.abstractmethod;

public abstract class Employee {
	
	String name;
	String ID;
	
	// Invariable parts
	public Employee(String name, String iD) {
		super();
		this.name = name;
		ID = iD;
	}

	public String getName() {
		return name;
	}

	public String getID() {
		return ID;
	}
	
	public String toString(){
		String str = "Emp Name::"+getName()+"Emp ID::"+getID();
		return str;
	}
	
	public void save(){
		//FileUtil futil = new FileUtil();
		
	}
	
	// variable part of the behavior
	public abstract String computeCompensation();
	
	
	

}
